﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SqlDateList.aspx.cs" Inherits="AspNetPaper分页_SqlDateList" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Sql数据库分页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:GridView ID="GridView1" runat="server">
            <Columns>
                <asp:templatefield SortExpression="Title">
                    <edititemtemplate>
                        <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("Title") %>'></asp:TextBox>
                    </edititemtemplate>
                    <itemtemplate>
                        <asp:Label ID="Label1" runat="server" Text='<%#TextData.Encrypt(Eval("Title").ToString()) %>'></asp:Label>
                    </itemtemplate>
                </asp:templatefield>
            </Columns>
        </asp:GridView>
        &nbsp;<br />
        <br />

        &nbsp;<webdiyer:AspNetPager id="AspNetPager1" runat="server" UrlPaging="True" 
            ShowSelectBox="Never" onpagechanged="ddd">
        </webdiyer:AspNetPager>
    </div>
    </form>
</body>
</html>
